<%@page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html class="root61">
<head>
<%@include file="/views/common/include/taglib.jsp"%>
<%@include file="/views/common/include/head.jsp"%>
<link type="text/css" rel="stylesheet" href="${ctx}/css/dlifestyle/sectionparent.css" source="widget" />
	<link type="text/css" rel="stylesheet" href="${ctx}/css/dlifestyle/admin.css" source="widget" />
</head>
<script src="${ctx}/js/common/ajaxfileupload.js" type="text/javascript"></script>
<body style="margin: 0px">
	<section class="mainborder">
		<section class="edit_scrollable padder">
			<div class="edit_content">
				
				<form id="myFrom" enctype="multipart/form-data">
					<c:if test="${type ==1}">
					<div class="form">
						<div class="item">
							<span class="col-sm-1 editlable">小区号：</span>
							<div class="fl" id ="normalContent">
								<select class="editform-control" style="height:29px;width: 150px;" id="cellId" onchange="changeAddr(this,1);">
			                      <option value="" <c:if test="${cellId == null }">selected="selected"</c:if>>小区名</option> 
			                      <option value="${sessionScope.user_login.currentCell.id}">${sessionScope.user_login.currentCell.cellName}</option>
		                        </select>
		                        <em class="emStyle">*</em>
		                    </div>
						</div>
						<div class="item">
		                   <label class="col-sm-1 editlable">所属区：</label>
		                   <div class="fl">
		                       <select id="regionId" class="editform-control" style="height:29px;width: 150px;" onchange="changeAddr(this,2);">
							 	<option value="">区域</option>
							 </select>
		                   </div>
		                </div>
		                <div class="item">
		                   <label class="col-sm-1 editlable">所属楼栋：</label>
		                   <div class="fl">
		                       <select id="buildingId" class="editform-control" style="height:29px;width: 150px;" onchange="changeAddr(this,3);">
								 	<option value="">楼栋</option>
								</select>
		                   </div>
		                </div>
		                <div class="item">
		                   <label class="col-sm-1 editlable">单元号：</label>
		                   <div class="fl">
		                       <select id="unitId" class="editform-control" style="height:29px;width: 150px;" onchange="changeAddr(this,4);">
								 	<option value="">单元</option>
								</select>
		                   </div>
		                </div>
		                <div class="item">
		                   <label class="col-sm-1 editlable">房间号：</label>
		                   <div class="fl">
		                      <!--  <input id="houseId" type="text" maxlength="6" style="height:25px;width: 150px;" class="editform-control"> -->
		                       <select id="houseId" class="editform-control" style="height:29px;width: 150px;">
                                    <option value="">房间</option>
                                </select>
		                   </div>
		                </div>
						<div class="item">
							<span class="col-sm-1 editlable">账单开始时间：</span>
							<div class="fl">
								<input id="beginDate" type="text" maxlength="6" style="height:25px;width: 150px;" class="editform-control" onClick="WdatePicker({maxDate:'2099-12-31 23:59:59'})"/ >
								<em class="emStyle">*</em>
							</div>
						</div>
					</div>
					</c:if>
					
					<c:if test="${type ==3}">
					<div class="form">
						<div class="item">
							<span class="col-sm-1 editlable">数据模板下载：</span>
							<div class="fl" id ="normalContent" style="height:27px;">
								<a href="${ctx}/doc/property_feebill.xlsx" style="font-size:13px;">点击下载</a>
		                    </div>
						</div>
						<div class="item">
							<span class="col-sm-1 editlable">小区名：</span>
							<div class="fl" id ="normalContent">
								<select class="editform-control" name="cellId" id="cellId" style="height:30px;width:198px;">
									<option value="${cellInfo.id}">${cellInfo.cellName}</option>
		                        </select>
		                        <em class="emStyle">*</em>
		                    </div>
						</div>
						<div class="item">
		                   <label class="col-sm-1 editlable">请选择文件：</label>
		                   <div class="fl" >
								<input type="file" name="fileIds" style="padding-top:4px;" class="editform-control" id="fileIds" >
		                   		<em class="emStyle">*</em>
		                   </div>
		                </div>
					
					</div>
					</c:if>
					
				</form>
				
			</div>
		</section>
	</section>

	<script type="text/javascript">
		document.getElementById("myFrom").reset();
	</script>
</body>
<script
	src="${ctx}/js/controllers/property/feebill/InitListController.js"
	type="text/javascript"></script>
<script type="text/javascript">
	var ctx = '${ctx}';
	setCtx(ctx);
</script>
</html>
